package org.fuys.coder.domain.audit.model.vo;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.audit.model.vo
 * @className: AuditTaskTypeVO
 * @author: WangJing
 * @description: 审核任务类型
 * @date: 2024/6/22 17:15
 * @version: 1.0
 */
public enum AuditTaskTypeVO {
    TEXT(1){
      public String getStrategy() {
          return "textAuditStrategy";
      }
    },
    IMAGE(2){
        public String getStrategy(){
            return "imageAuditStrategy";
        }
    },
    MULTIPLE(3){
        public String getStrategy(){
            return "multipleAuditStrategy";
        }
    };

    int index;

    AuditTaskTypeVO(int index) {
        this.index = index;
    }

    public int getIndex() {
        return index;
    }

    public String getStrategy(){
        return null;
    }

    public static AuditTaskTypeVO getByIdx(int index) {
        return AuditTaskTypeVO.values()[index-1];
    }
}
